import request from '@/utils/request';

// 获取超售列表
export async function getInfoTable(params) {
  return request('/dp/sys/expectOverBook/getExpectOverBookPage', {
    params,
    method:'get'
  });
}
// 编辑
export async function handleUpdateData (params) {
  console.log(params)
  return request('/dp/sys/expectOverBook/updateExpectOverBook', {
    method: 'POST',
    data:params
  });
}
// 新增
export async function addData (params) {
  console.log(params)
  return request('/dp/sys/expectOverBook/saveExpectOverBook', {
    method: 'POST',
    data:params
  });
}

// 删除
export async function removeData(params) {
  return request('/dp/sys/expectOverBook/deleteExpectOverBook', {
    method: 'POST',
    params,
  });
}

// 获取下拉库数据航站的
export async function queryCityInfo(params) {
  return request('/dp/sys/getSelectCityInfo', {
    method: 'get',
    params,
  })
}